$zoomDirections:
  'top' scaleY(0) scaleY(1) center top,
  'bottom' scaleY(0) scaleY(1) center bottom,
  'left' scale(0.45, 0.45) scale(1, 1) top left,
  'right' scale(0.45, 0.45) scale(1, 1) top right;


@each $direction, $scaleStart, $scaleEnd, $originX, $originY in $zoomDirections {
  @include zoom-animation($direction, $scaleStart, $scaleEnd, $originX, $originY)
}
